package com.tsing.service;

import com.tsing.common.result.PageResult;
import com.tsing.pojo.entity.AdChannel;

import java.sql.SQLException;
import java.util.List;

/**
 * @author 吴阳基
 * @datetime 2023/12/4 8:51
 */
public interface ChannelService {
     PageResult<AdChannel> list(Integer page, Integer size, Integer status, String name) throws SQLException;

    int add(AdChannel adChannel) throws SQLException;

    int save(AdChannel adChannel) throws SQLException;

    int update(AdChannel adChannel) throws SQLException;

    int delete(int id) throws SQLException;
}
